Skip to content

Document pickling requirements for custom adapters#7333

Closed
monsonego wants to merge 1 commit intopsf:mainfrom
monsonego:docs/adapter-pickling-note
Closed

Document pickling requirements for custom adapters#7333
monsonego wants to merge 1 commit intopsf:mainfrom
monsonego:docs/adapter-pickling-note

Conversation

@monsonego
Copy link
Copy Markdown

Summary

  • update the transport adapter example to store custom state on the adapter instance
  • document that custom HTTPAdapter subclasses should extend attrs when they add instance attributes so copying and pickling preserve that state

Testing

  • python -m sphinx -b dummy docs docs\_build\dummy

Closes #6255

@nateprewitt nateprewitt added the mass-automation-pr This PR was created from an account spamming large projects with "fixes". label Apr 7, 2026
@nateprewitt nateprewitt closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mass-automation-pr This PR was created from an account spamming large projects with "fixes".

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mention pickling in the docs for creating custom Transport Adapters

2 participants